﻿using System;
using JStore.Core.Enums;
using SpeadFrm.ORM;

namespace JStore.Core.Entities
{
    [TableName("CompanyMoneyLog")]
    [PrimaryKey("Id")]
    public class CompanyMoneyLog
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public CompanyMoneyType MoneyType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal RealMoney { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int OperUserId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string OperUserName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateDate { get; set; } 
    }
}